﻿using System.Collections.Generic;
using Dost.Khcn.Data.EntityModel;

namespace Dost.Khcn.Data.Interfaces
{
    public interface IHocViDao
    {
        List<HocVi> GetHocVis(int startIndex, int pageSize, string sorting, string name, out int totalRecords);
        List<HocVi> GetAll();
        HocVi AddHocVi(HocVi hocVi);
        HocVi GetById(int id);
        void UpdateHocVi(HocVi hocVi);
        void DeleteHocVi(int id);
    }
}
